package com.threeti.mecool.framework.domain.support;

import com.threeti.mecool.framework.domain.AbstractCustomKeyDomainEntity;
import com.threeti.mecool.framework.domain.ValueObject;


/**
 * 自定义键实体采用复合键对象策略<p/>
 *
 * 1.复合键对象强制实现了 {@link ValueObject} 接口
 *
 * @author Jay Meng
 */
public abstract class DefaultCompositeKeyDomainEntity<COMPOSITE_ID extends ValueObject> extends AbstractCustomKeyDomainEntity<COMPOSITE_ID> {

  public abstract COMPOSITE_ID getCustomId();

  public abstract void setCustomId(COMPOSITE_ID id);
}
